# Maintainer: Andreas 'Segaja' Schleifer <segaja at archlinux dot org>
# Original Maintainer: Luca P <meti at lplab.net>

pkgname='hss'
pkgver=1.9
pkgrel=1
arch=('loong64' 'x86_64')
pkgdesc='Interactive ssh client for multiple servers'
url='https://github.com/six-ddc/hss'
license=('GPL')
depends=(readline)
source=("${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha512sums=('b37f79a43855bd92c256db14d592960f36d9ab0496ff468912d0ad3b718a07abc465a2d0bec65f2324cc56929c9b25c7166952973cb2fa0b9940e58b7f0d2740')

build() {
  cd "${pkgname}-${pkgver}"

  make all
}

package() {
  cd "${pkgname}-${pkgver}"

  make INSTALL_BIN="${pkgdir}/usr/bin" install
}
